package com.yf.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 商品实体
 * 表名 goods
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Aug 16 13:57:31 CST 2018
 */
@Setter
@Getter
public class GoodsEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //表ID
    private Long id;
    //名字
    private String name;
    //描述
    private String info;
    //分享标题
    private String title;
    //生产日期
    private Date releaseTime;
    //保质期
    private String protectTime;
    //产品重量
    private BigDecimal weight;
    //一箱数量
    private BigDecimal boxAmount;
    //单位
    private String spec;
    //ENUM-类型:'上架','下架'
    private Integer shelf;
    //ENUM-类型:'代理','零售'
    private Integer type;
    //可选数量
    private Integer selectNumber;
    //IMG-缩略图
    private String minImg;
    //IMG-展示图
    private String middleImg;
    //IMG-详情页
    private String bigImg;
    //ENUM-类型:'正常','禁止发货','禁止进货','全部禁止'
    private Integer status;
    //积分
    private BigDecimal points;
    //模式
    private String rule;
    //零售价
    private BigDecimal price;
    //折扣价
    private BigDecimal retailPrice;
    //抵扣价
    private BigDecimal otherPrice;
    //上架时间
    private Date shelfTime;
    //创建时间
    private Date createTime;

}
